//
//  ShoppingMallCollectCell.m
//  zhangGuangTianXia
//
//  Created by Mac on 2017/11/15.
//  Copyright © 2017年 tangtangchitangtang. All rights reserved.
//

#import "ShoppingMallCollectCell.h"

@implementation ShoppingMallCollectCell


//初始化
+ (instancetype)ShoppingMallCollectCell:(UICollectionView *)collectionView :(NSIndexPath *)indexPath
{
    
    UINib *nib = [UINib nibWithNibName:@"ShoppingMallCollectCell"
                                bundle: [NSBundle mainBundle]];
    [collectionView registerNib:nib forCellWithReuseIdentifier:@"ShoppingMallCollectCell"];
    
    ShoppingMallCollectCell *cell = [collectionView dequeueReusableCellWithReuseIdentifier:@"ShoppingMallCollectCell" forIndexPath:indexPath];
    
    if(cell==nil)
    {
        cell = [[[NSBundle mainBundle]loadNibNamed:@"ShoppingMallCollectCell" owner:nil options:nil] firstObject];
        
    }
    
  
    return cell;
    
}



@end
